<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <title>Title</title>
  <!-- <link rel="stylesheet" href="stylesheets/reset.css"> -->
  <link rel="stylesheet" href="stylesheets/index.css">
  <style>
	.green {
		background-color: green;
	}
	.list {
		display: flex;
		flex-wrap: wrap;
	}
	.list .item img {
		width: 150px;
		height: 150px;
		object-fit: cover;
	}
  </style>
</head>
<body>

<div id="app">
	<div>
		语种：
		<button
		  v-for="item of areaData"
		  :class="{ green: selectedArea === item.val }"
		  @click="handleFilter(item.val)"
		>{{ item.text }}</button>
	</div>
	<div class="list">
		<div v-for="item of artists" class="item">
			<img :src="item.picUrl" :alt="item.name">
			<p>{{ item.name }}</p>
		</div>
	</div>
	<button @click="loadmore">加载更多</button>
</div>

<script src="./vue.js"></script>
<script src="./artist.js"></script>
</body>
</html>
